package com.lzx.iteam.bean;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * **********************************
 * User: zhangshuai
 * Date: 2017年 01月 11日
 * Time: 下午2:24
 *
 * @QQ : 1234567890
 * **********************************
 */
public class SalaryRuleEditBean implements Serializable {

    private String name;
    private String about;
    private float money;
    private int type;
    private int unit; // 单位： 0：每天  1：每次  2：日薪

    public SalaryRuleEditBean(int type) {
        this.type = type;
    }

    public SalaryRuleEditBean(String name, String about, float money, int unit) {
        this.name = name;
        this.about = about;
        this.money = money;
        this.unit = unit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbout() {
        return about;
    }

    public void setAbout(String about) {
        this.about = about;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getUnit() {
        return unit;
    }

    public void setUnit(int unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "SalaryRuleEditBean{" +
              "name='" + name + '\'' +
              ", about='" + about + '\'' +
              ", money='" + money + '\'' +
              ", type=" + type +
              ", unit=" + unit +
              '}';
    }
}
